package com.zemo.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description: 用户类
 * @author: Zemo
 * @date: Mar 31, 2014 12:59:34 AM
 * @email:chenzeming@lanbaoo.com
 */
@Entity
@Table(name="users")
public class User implements Serializable{
	
	
	private static final long serialVersionUID = -5214800907462969980L;
	private Integer id;
	private String userName;
	private String password;
	private Integer fund;
	
	@Id
	@GeneratedValue
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Integer getFund() {
		return fund;
	}
	public void setFund(Integer fund) {
		this.fund = fund;
	}
	

	
}
